PaymentPlugins\WooCommerce\PPCP\PaymentHandler B

Total Complexity 76
Dependencies 18
Dependents 8
Total lines 436
Lines of code 308
Logical lines of code 186
Comment lines 73
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
process_payment()
B
35 21 80
process_void()
A
50 8 29
process_capture()
A
47 7 35
process_refund()
S
54 5 20
validate_paypal_order()
S
59 5 14
payment_complete()
S
53 4 21
process_order_cancellation()
S
55 3 19
get_update_order_params()
S
57 3 16
save_order_meta_data()
S
59 2 13
get_create_order_params()
S
62 2 11
is_processing()
S
71 2 6
get_payment_source()
S
69 2 7
add_payment_complete_message()
S
73 2 4
get_paypal_order_id_from_request()
S
72 2 5
get_cache()
S
82 1 3
get_payment_method_token_from_paypal_order()
S
74 1 5
__construct()
S
74 1 5
remove_processing()
S
81 1 3
set_processing()
S
81 1 3
set_payment_method()
S
81 1 3
set_use_billing_agreement()
S
81 1 3
get_payment_method()
S
82 1 3